package com.golddaymicromall.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lijing on 2017/1/20.
 */

public class JiFenInfo implements Serializable{

    /**
     * code : 1
     * data : [{"id":756,"pcid":110,"price":0,"pv":0.5,"spec":6,"memo":"新版三折页，绝对是精华中的精华","image":"f58708f8a1904699b66cd6e754b6a614.jpg","active":1,"ptid":",3,5,10,12,0,","discount":0,"iscombination":0,"productname":"新版产品三折页","productcode":"jt020","skucode":"1*1","countstatus":"1","weight":0.01,"con":0,"productid":0,"point":9999},{"id":743,"pcid":94,"price":3980,"pv":3980,"spec":1,"memo":"名称生态保元1号","active":1,"ptid":",3,5,10,","discount":0,"iscombination":0,"productname":"生态保元1号","productcode":"jt015","skucode":"1*151","countstatus":"1","weight":1,"con":0,"productid":0,"point":100},{"id":382,"pcid":94,"price":0,"pv":0,"spec":1,"memo":"雪莲生态保养时尚版","active":1,"ptid":",3,5,10,11,0,","discount":0,"iscombination":0,"productname":"雪莲生态保养时尚版","productcode":"jt00000019","skucode":"20贴/盒","countstatus":"1","weight":1,"con":0,"productid":0,"point":10}]
     * balance : 0
     * success : true
     */

    private String code;
    private int balance;
    private boolean success;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 756
         * pcid : 110
         * price : 0
         * pv : 0.5
         * spec : 6
         * memo : 新版三折页，绝对是精华中的精华
         * image : f58708f8a1904699b66cd6e754b6a614.jpg
         * active : 1
         * ptid : ,3,5,10,12,0,
         * discount : 0
         * iscombination : 0
         * productname : 新版产品三折页
         * productcode : jt020
         * skucode : 1*1
         * countstatus : 1
         * weight : 0.01
         * con : 0
         * productid : 0
         * point : 9999.0
         */

        private int id;
        private int pcid;
        private int price;
        private double pv;
        private int spec;
        private String memo;
        private String image;
        private int active;
        private String ptid;
        private int discount;
        private int iscombination;
        private String productname;
        private String productcode;
        private String skucode;
        private String countstatus;
        private double weight;
        private int con;
        private int productid;
        private double point;
        public boolean flag;

        public String getImage1() {
            return image1;
        }

        public void setImage1(String image1) {
            this.image1 = image1;
        }

        private String image1;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        private int count;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPcid() {
            return pcid;
        }

        public void setPcid(int pcid) {
            this.pcid = pcid;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public double getPv() {
            return pv;
        }

        public void setPv(double pv) {
            this.pv = pv;
        }

        public int getSpec() {
            return spec;
        }

        public void setSpec(int spec) {
            this.spec = spec;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getActive() {
            return active;
        }

        public void setActive(int active) {
            this.active = active;
        }

        public String getPtid() {
            return ptid;
        }

        public void setPtid(String ptid) {
            this.ptid = ptid;
        }

        public int getDiscount() {
            return discount;
        }

        public void setDiscount(int discount) {
            this.discount = discount;
        }

        public int getIscombination() {
            return iscombination;
        }

        public void setIscombination(int iscombination) {
            this.iscombination = iscombination;
        }

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public String getProductcode() {
            return productcode;
        }

        public void setProductcode(String productcode) {
            this.productcode = productcode;
        }

        public String getSkucode() {
            return skucode;
        }

        public void setSkucode(String skucode) {
            this.skucode = skucode;
        }

        public String getCountstatus() {
            return countstatus;
        }

        public void setCountstatus(String countstatus) {
            this.countstatus = countstatus;
        }

        public double getWeight() {
            return weight;
        }

        public void setWeight(double weight) {
            this.weight = weight;
        }

        public int getCon() {
            return con;
        }

        public void setCon(int con) {
            this.con = con;
        }

        public int getProductid() {
            return productid;
        }

        public void setProductid(int productid) {
            this.productid = productid;
        }

        public double getPoint() {
            return point;
        }

        public void setPoint(double point) {
            this.point = point;
        }
    }
}
